home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / internet-tools / connect-line / cl / devkit / docs / clcat.doc < prev    next >
Encoding:
Text File  |  1995-09-01  |  2.2 KB  |  77 lines

  1. clcat - textfiles information
  2. =============================
  3.  
  4. To change the textoutput from connectline online commands, there is
  5. need of some simple knowledgement. The following informations gives
  6. it to you. So you can easily change the output of your commands 
  7. as you like it, with your favourite colours and your provided kind
  8. of text, or simply in another language.
  9.  
  10. Tokens in .clcat-Texten:
  11. ------------------------
  12.  
  13.  $(DATE{fmt})  Insert current date with locale.library's FormatDate()
  14.                (e.g. "$(DATE{%c})")
  15.  $(ENV{name})  Insert value of ENV variable (e.g. "$(ENV{USERNAME})")
  16.  $(FILE{name}) Insert file (max. 1024 chars)
  17.  $(FF)         Insert FormFeed (^L, 0x0c)
  18.  $(BELL)       Insert Bell (^G, 0x07)
  19.  $(BOLD)       Insert ANSI bold sequence
  20.  $(ITALIC)     Insert ANSI italic sequence
  21.  $(UNDERLINE)  Insert ANSI underline sequence
  22.  $(NORMAL)     Insert ANSI normal sequence
  23.  $(COL{num})   Insert ANSI color select sequence (e.g. "$(COL{1})")
  24.  $(BCOL0{num}} Insert ANSI background color select sequence
  25.  
  26. ANSI Colours:
  27. -------------
  28.  
  29.  Black  0
  30.  Red    1
  31.  Green  2
  32.  Yellow 3
  33.  Blue   4
  34.  Pink   5
  35.  Cyan   6
  36.  White  7
  37.  
  38. Formatstring definition:
  39. ------------------------
  40.  
  41.  FormatString - a "C"-language-like NULL terminated format
  42.  string, with the following supported % options:
  43.  
  44.  %[flags][width.limit][length]type
  45.  
  46.  flags - only one allowed. '-' specifies left justification.
  47.  
  48.  width - field width. If the first character is a '0', the field
  49.          will be padded with leading 0's.
  50.  
  51.  .     - must follow the field width, if specified
  52.  
  53.  limit - maximum number of characters to output from a string.
  54.          (only valid for %s).
  55.  
  56.  length - size of input data defaults to WORD for types d, x, and
  57.           c, 'l' changes this to long (32-bit).
  58.  
  59.  type   - supported types are:
  60.  
  61.       b - BSTR, data is 32-bit BPTR to byte count followed
  62.           by a byte string, or NULL terminated byte string.
  63.           A NULL BPTR is treated as an empty string.
  64.           (Added in V36 exec)
  65.  
  66.       d - decimal
  67.  
  68.       u - unsigned decimal (Added in V37 exec)
  69.  
  70.       x - hexadecimal
  71.  
  72.       s - string, a 32-bit pointer to a NULL terminated
  73.           byte string.  In V36, a NULL pointer is treated
  74.           as an empty string
  75.  
  76.       c - character
  77.